﻿using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

namespace Service.Net.ResponseData
{
    /// <summary>
    /// 请求返回的数据(根据实际情况调整)
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class ResponseData<T>
    {

        [JsonProperty("code")]
        public string ErrorCode { get; set; }

        [JsonProperty("msg")]
        public string ErrorMessage { get; set; }

        [JsonProperty("data")]
        public T Data { get; set; }
    }

}
